package com.ctg.behavior.common.userslist.upper;

import java.util.ArrayList;
import java.util.List;

import com.ctg.behavior.common.CtgTitle;
import com.ctg.behavior.common.calc.CtCalcFilter;
import com.ctg.behavior.common.calc.CtCalcMeasure;
import com.ctg.behavior.common.usergroups.CtUGCalcBody;

import lombok.Data;

@Data
public class CtUpperUserGroupBody {
	
//	/*
//	 {
//	"filter": {
//		"conditions": [
//			{
//				"field": "user.user_group_fq36",
//				"function": "isTrue"
//			}
//		]
//	},
//	"measures": [
//		{
//			"aggregator": "count",
//			"field": ""
//		}
//	],
//	"from": "user_group",
//	"title": {
//		"name": "分群36",
//		"desc": "分群用户明细"
//	}
//}
//	 */
	
	private CtCalcFilter filter = new CtCalcFilter();
	private List<CtCalcMeasure> measures = new ArrayList<>();
	private CtgTitle title = new CtgTitle();

	// 用户分群规则
	private CtUGCalcBody userGroupBody = new CtUGCalcBody();
	
	
}
